package org.fhm.zdte.client.ability;

import org.fhm.zdte.common.constant.ChannelType;
import org.fhm.zdte.common.pojo.Address;

/**
 * The interface <b>IGetConnectChannelType</b>'s implementation is used to obtain {@link ChannelType} by the identification of target.
 *
 * @author 谭波
 * @since 2024/4/7
 */
public interface IGetConnectChannelType {

    /**
     * Obtain {@link ChannelType} by the identification of target.
     *
     * @param address the address of target.
     * @return {@link ChannelType}
     */
    ChannelType obtainChannelType(Address address);

}
